<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ShipCAD: ShipCADlib/preferences.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ShipCAD
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_f0b6ef187c5b1483641b038f81654ac4.html">ShipCADlib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">preferences.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="preferences_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*##############################################################################################</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *    ShipCAD                                                                                  *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *    Copyright 2015, by Greg Green &lt;ggreen@bit-builder.com&gt;                                   *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *    Original Copyright header below                                                          *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *    This code is distributed as part of the FREE!ship project. FREE!ship is an               *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *    open source surface-modelling program based on subdivision surfaces and intended for     *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *    designing ships.                                                                         *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *    Copyright © 2005, by Martijn van Engeland                                                *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *    e-mail                  : Info@FREEship.org                                              *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *    FREE!ship project page  : https://sourceforge.net/projects/freeship                      *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *    FREE!ship homepage      : www.FREEship.org                                               *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *    This program is free software; you can redistribute it and/or modify it under            *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *    the terms of the GNU General Public License as published by the                          *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *    Free Software Foundation; either version 2 of the License, or (at your option)           *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *    any later version.                                                                       *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *    This program is distributed in the hope that it will be useful, but WITHOUT ANY          *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A          *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *    PARTICULAR PURPOSE. See the GNU General Public License for more details.                 *</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *    You should have received a copy of the GNU General Public License along with             *</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *    this program; if not, write to the Free Software Foundation, Inc.,                       *</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *    59 Temple Place, Suite 330, Boston, MA 02111-1307 USA                                    *</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *#############################################################################################*/</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;QSettings&gt;</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="preferences_8h.html">preferences.h</a>&quot;</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="shipcadmodel_8h.html">shipcadmodel.h</a>&quot;</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="subdivsurface_8h.html">subdivsurface.h</a>&quot;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespaceShipCAD.html">ShipCAD</a>;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a>;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Preferences.html#afd469134e34b7e1982efeb1e402fce3b">   38</a></span>&#160;<a class="code" href="classShipCAD_1_1Preferences.html#afd469134e34b7e1982efeb1e402fce3b">Preferences::Preferences</a>(<a class="code" href="classShipCAD_1_1ShipCADModel.html">ShipCADModel</a>* owner)</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    : _owner(owner), _point_size(4), _max_undo_memory(20)</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;{</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <a class="code" href="classShipCAD_1_1Preferences.html#a2e7e496b3417148240994e51281b0858">resetColors</a>();</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <a class="code" href="classShipCAD_1_1Preferences.html#abc05184c6497085eec42a9c89d639fe0">readSettings</a>();</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;}</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Preferences.html#ae2139f76ba4038b4e713ca75dcb8157e">   45</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Preferences.html#ae2139f76ba4038b4e713ca75dcb8157e">Preferences::clear</a>()</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;{</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <a class="code" href="classShipCAD_1_1Preferences.html#a2e7e496b3417148240994e51281b0858">resetColors</a>();</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    _point_size = 4;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    _max_undo_memory = 20;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;}</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Preferences.html#a2e7e496b3417148240994e51281b0858">   52</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Preferences.html#a2e7e496b3417148240994e51281b0858">Preferences::resetColors</a>()</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;{</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    _buttock_color = QColor(0x80,0x80,0x40);</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    _waterline_color = QColor(0x80,0x80,0x40);</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    _station_color = QColor(0x80,0x80,0x40);</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    _diagonal_color = QColor(0x80, 0x80, 0x40);</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    _edge_color = QColor(0x6f,0x6f,0x6f);</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    _crease_color = Qt::black;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    _crease_edge_color = Qt::red;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    _grid_color = QColor(0xc0, 0xc0, 0xc0);</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    _grid_font_color = Qt::white;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    _crease_point_color = QColor(0, 0x40, 0x80);</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    _regular_point_color = QColor(0xe1, 0xe1, 0xe1);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    _corner_point_color = QColor(0xb9, 0x5c, 0);</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    _dart_point_color = QColor(0xff, 0x00, 0x80);</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    _select_color = Qt::yellow;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    _layer_color = QColor(0, 128, 0);</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    _normal_color = Qt::white;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    _underwater_color = QColor(240, 240, 240);</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    _viewport_color = QColor(0x9f, 0x9f, 0x9f);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    _leakpoint_color = QColor(0x99, 0xff, 0);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    _marker_color = QColor(0x80, 0, 0xff);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    _curvature_plot_color = QColor(0xff, 0x00, 0x80);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    _control_curve_color = QColor(0xff, 0x00, 0x80);</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    _hydrostatics_font_color = QColor(0x80, 0, 0);</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    _zebra_stripe_color = QColor(230, 230, 230);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;}</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Preferences.html#a9c1e6e137131d41b962ae1cb4a943bd0">   80</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Preferences.html#a9c1e6e137131d41b962ae1cb4a943bd0">Preferences::setSurfaceColors</a>(<a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>&amp; surface)</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;{</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a7ad820b9d312c8ecde939b5345690d35">_control_point_size</a> = _point_size;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#aaa3b772931e04f8650db2d005ae05d6a">_crease_color</a> = _crease_color;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a6106aee9d086aa377d9a3a6a6291b54c">_crease_edge_color</a> = _crease_edge_color;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a8a64eabb53fa0facaa6e59579305328b">_underwater_color</a> = _underwater_color;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#aced3b075062f92e55b3a89729cad3fd2">_edge_color</a> = _edge_color;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a3cfcbbe769216c753330f71e57a4cf4d">_selected_color</a> = _select_color;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a9602182d9a123dc267d34a2cd1b45ed7">_crease_point_color</a> = _crease_point_color;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#afee1585e376c34aa9b3be47f3a174cdb">_regular_point_color</a> = _regular_point_color;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#aba9fae36ed19b802707c748396c1fd63">_corner_point_color</a> = _corner_point_color;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a45054fd2d0065a342828bcd675e91307">_dart_point_color</a> = _dart_point_color;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a0833012e177dfd6cdb71174cb7baed17">_layer_color</a> = _layer_color;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a62cbe24451a794c0da3660ed0f1066ca">_normal_color</a> = _normal_color;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#aacd1616b97a4425cc9b1051e01785596">_leak_color</a> = _leakpoint_color;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a05a83d21996abb065abe7f3109f35a73">_curvature_color</a> = _curvature_plot_color;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#af0385bc183e805c1adc23750747a43d7">_control_curve_color</a> = _control_curve_color;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    surface.<a class="code" href="classShipCAD_1_1SubdivisionSurface.html#a047d5d0575c944d216ada589e30ee3bd">_zebra_color</a> = _zebra_stripe_color;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;}</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Preferences.html#a02f80a902cb9d1887820fbd2cc116407">  101</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Preferences.html#a02f80a902cb9d1887820fbd2cc116407">Preferences::getColorDialogMap</a>(map&lt;int, ColorChanger&gt;&amp; colors)</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;{</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    colors.insert(make_pair(0, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_viewport_color)));</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    colors.insert(make_pair(1, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_grid_color)));</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    colors.insert(make_pair(2, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_grid_font_color)));</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    colors.insert(make_pair(3, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_layer_color)));</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    colors.insert(make_pair(4, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_underwater_color)));</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    colors.insert(make_pair(5, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_normal_color)));</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    colors.insert(make_pair(6, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_control_curve_color)));</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    colors.insert(make_pair(7, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_edge_color)));</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    colors.insert(make_pair(8, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_crease_color)));</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    colors.insert(make_pair(9, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_crease_edge_color)));</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    colors.insert(make_pair(10, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_regular_point_color)));</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    colors.insert(make_pair(11, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_crease_point_color)));</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    colors.insert(make_pair(12, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_corner_point_color)));</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    colors.insert(make_pair(13, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_dart_point_color)));</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    colors.insert(make_pair(14, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_leakpoint_color)));</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    colors.insert(make_pair(15, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_select_color)));</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    colors.insert(make_pair(16, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_curvature_plot_color)));</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    colors.insert(make_pair(17, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_marker_color)));</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    colors.insert(make_pair(18, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_station_color)));</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    colors.insert(make_pair(19, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_buttock_color)));</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    colors.insert(make_pair(20, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_waterline_color)));</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    colors.insert(make_pair(21, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_diagonal_color)));</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    colors.insert(make_pair(22, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_hydrostatics_font_color)));</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    colors.insert(make_pair(23, <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>(&amp;_zebra_stripe_color)));</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;}</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Preferences.html#abc05184c6497085eec42a9c89d639fe0">  129</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Preferences.html#abc05184c6497085eec42a9c89d639fe0">Preferences::readSettings</a>()</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;{</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="comment">// the colors</span></div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    map&lt;int, ColorChanger&gt; colors;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    <a class="code" href="classShipCAD_1_1Preferences.html#a02f80a902cb9d1887820fbd2cc116407">getColorDialogMap</a>(colors);</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    QSettings settings;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="keywordtype">int</span> size = settings.beginReadArray(<span class="stringliteral">&quot;preferences/color&quot;</span>);</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <span class="keywordflow">if</span> (size &gt; 0) {</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i=0; i&lt;size &amp;&amp; i&lt;colors.size(); ++i) {</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;            settings.setArrayIndex(i);</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;            <span class="keywordtype">int</span> red = settings.value(<span class="stringliteral">&quot;red&quot;</span>).toInt();</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;            <span class="keywordtype">int</span> green = settings.value(<span class="stringliteral">&quot;green&quot;</span>).toInt();</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;            <span class="keywordtype">int</span> blue = settings.value(<span class="stringliteral">&quot;blue&quot;</span>).toInt();</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;            map&lt;int, ColorChanger&gt;::iterator j = colors.find(i);</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;            <span class="keywordflow">if</span> (j == colors.end())</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;                <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;            <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>&amp; changer = (*j).second;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;            *(changer.<a class="code" href="structShipCAD_1_1ColorChanger.html#a02791ae9fddb3e9a97ff84ae65b8e76e">setColor</a>) = QColor(red, green, blue);</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        }</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    }</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    settings.endArray();</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <span class="comment">// the rest</span></div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <span class="keywordflow">if</span> (settings.contains(<span class="stringliteral">&quot;preferences/pointsize&quot;</span>))</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        _point_size = settings.value(<span class="stringliteral">&quot;preferences/pointsize&quot;</span>).toInt();</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="keywordflow">if</span> (settings.contains(<span class="stringliteral">&quot;preferences/maxundomemory&quot;</span>))</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        _max_undo_memory = settings.value(<span class="stringliteral">&quot;preferences/maxundomemory&quot;</span>).toInt();</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    </div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;}</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Preferences.html#aab29ea10ab3248d163dbc97e2c6b4585">  158</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Preferences.html#aab29ea10ab3248d163dbc97e2c6b4585">Preferences::saveSettings</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    <span class="comment">// colors</span></div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    map&lt;int, ColorChanger&gt; colors;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    <span class="keyword">const_cast&lt;</span><a class="code" href="classShipCAD_1_1Preferences.html">Preferences</a>*<span class="keyword">&gt;</span>(<span class="keyword">this</span>)-&gt;<a class="code" href="classShipCAD_1_1Preferences.html#a02f80a902cb9d1887820fbd2cc116407">getColorDialogMap</a>(colors);</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    QSettings settings;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    settings.beginWriteArray(<span class="stringliteral">&quot;preferences/color&quot;</span>);</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i=0; i&lt;colors.size(); ++i) {</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        settings.setArrayIndex(i);</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;        map&lt;int, ColorChanger&gt;::iterator j = colors.find(i);</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;        <span class="keywordflow">if</span> (j == colors.end())</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;            <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;        <a class="code" href="structShipCAD_1_1ColorChanger.html">ColorChanger</a>&amp; changer = (*j).second;</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        settings.setValue(<span class="stringliteral">&quot;red&quot;</span>, (*changer.<a class="code" href="structShipCAD_1_1ColorChanger.html#a02791ae9fddb3e9a97ff84ae65b8e76e">setColor</a>).red());</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;        settings.setValue(<span class="stringliteral">&quot;green&quot;</span>, (*changer.<a class="code" href="structShipCAD_1_1ColorChanger.html#a02791ae9fddb3e9a97ff84ae65b8e76e">setColor</a>).green());</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        settings.setValue(<span class="stringliteral">&quot;blue&quot;</span>, (*changer.<a class="code" href="structShipCAD_1_1ColorChanger.html#a02791ae9fddb3e9a97ff84ae65b8e76e">setColor</a>).blue());</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    }</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    settings.endArray();</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    <span class="comment">// the rest</span></div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    settings.setValue(<span class="stringliteral">&quot;preferences/pointsize&quot;</span>, _point_size);</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    settings.setValue(<span class="stringliteral">&quot;preferences/maxundomemory&quot;</span>, static_cast&lt;int&gt;(_max_undo_memory));</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;}</div><div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a0833012e177dfd6cdb71174cb7baed17"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a0833012e177dfd6cdb71174cb7baed17">ShipCAD::SubdivisionSurface::_layer_color</a></div><div class="ttdeci">QColor _layer_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00446">subdivsurface.h:446</a></div></div>
<div class="ttc" id="classShipCAD_1_1Preferences_html"><div class="ttname"><a href="classShipCAD_1_1Preferences.html">ShipCAD::Preferences</a></div><div class="ttdef"><b>Definition:</b> <a href="preferences_8h_source.html#l00045">preferences.h:45</a></div></div>
<div class="ttc" id="classShipCAD_1_1Preferences_html_a02f80a902cb9d1887820fbd2cc116407"><div class="ttname"><a href="classShipCAD_1_1Preferences.html#a02f80a902cb9d1887820fbd2cc116407">ShipCAD::Preferences::getColorDialogMap</a></div><div class="ttdeci">void getColorDialogMap(std::map&lt; int, ColorChanger &gt; &amp;colors)</div><div class="ttdef"><b>Definition:</b> <a href="preferences_8cpp_source.html#l00101">preferences.cpp:101</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a9602182d9a123dc267d34a2cd1b45ed7"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a9602182d9a123dc267d34a2cd1b45ed7">ShipCAD::SubdivisionSurface::_crease_point_color</a></div><div class="ttdeci">QColor _crease_point_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00442">subdivsurface.h:442</a></div></div>
<div class="ttc" id="classShipCAD_1_1Preferences_html_aab29ea10ab3248d163dbc97e2c6b4585"><div class="ttname"><a href="classShipCAD_1_1Preferences.html#aab29ea10ab3248d163dbc97e2c6b4585">ShipCAD::Preferences::saveSettings</a></div><div class="ttdeci">void saveSettings() const </div><div class="ttdef"><b>Definition:</b> <a href="preferences_8cpp_source.html#l00158">preferences.cpp:158</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a62cbe24451a794c0da3660ed0f1066ca"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a62cbe24451a794c0da3660ed0f1066ca">ShipCAD::SubdivisionSurface::_normal_color</a></div><div class="ttdeci">QColor _normal_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00447">subdivsurface.h:447</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a05a83d21996abb065abe7f3109f35a73"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a05a83d21996abb065abe7f3109f35a73">ShipCAD::SubdivisionSurface::_curvature_color</a></div><div class="ttdeci">QColor _curvature_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00449">subdivsurface.h:449</a></div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace. </div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a7ad820b9d312c8ecde939b5345690d35"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a7ad820b9d312c8ecde939b5345690d35">ShipCAD::SubdivisionSurface::_control_point_size</a></div><div class="ttdeci">int _control_point_size</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00430">subdivsurface.h:430</a></div></div>
<div class="ttc" id="structShipCAD_1_1ColorChanger_html_a02791ae9fddb3e9a97ff84ae65b8e76e"><div class="ttname"><a href="structShipCAD_1_1ColorChanger.html#a02791ae9fddb3e9a97ff84ae65b8e76e">ShipCAD::ColorChanger::setColor</a></div><div class="ttdeci">QColor * setColor</div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00215">dialogdata.h:215</a></div></div>
<div class="ttc" id="structShipCAD_1_1ColorChanger_html"><div class="ttname"><a href="structShipCAD_1_1ColorChanger.html">ShipCAD::ColorChanger</a></div><div class="ttdoc">original and new color in preferences dialog exchange </div><div class="ttdef"><b>Definition:</b> <a href="dialogdata_8h_source.html#l00212">dialogdata.h:212</a></div></div>
<div class="ttc" id="subdivsurface_8h_html"><div class="ttname"><a href="subdivsurface_8h.html">subdivsurface.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_afee1585e376c34aa9b3be47f3a174cdb"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#afee1585e376c34aa9b3be47f3a174cdb">ShipCAD::SubdivisionSurface::_regular_point_color</a></div><div class="ttdeci">QColor _regular_point_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00443">subdivsurface.h:443</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_aaa3b772931e04f8650db2d005ae05d6a"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#aaa3b772931e04f8650db2d005ae05d6a">ShipCAD::SubdivisionSurface::_crease_color</a></div><div class="ttdeci">QColor _crease_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00437">subdivsurface.h:437</a></div></div>
<div class="ttc" id="classShipCAD_1_1Preferences_html_a9c1e6e137131d41b962ae1cb4a943bd0"><div class="ttname"><a href="classShipCAD_1_1Preferences.html#a9c1e6e137131d41b962ae1cb4a943bd0">ShipCAD::Preferences::setSurfaceColors</a></div><div class="ttdeci">void setSurfaceColors(SubdivisionSurface &amp;surface)</div><div class="ttdef"><b>Definition:</b> <a href="preferences_8cpp_source.html#l00080">preferences.cpp:80</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a8a64eabb53fa0facaa6e59579305328b"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a8a64eabb53fa0facaa6e59579305328b">ShipCAD::SubdivisionSurface::_underwater_color</a></div><div class="ttdeci">QColor _underwater_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00439">subdivsurface.h:439</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_aba9fae36ed19b802707c748396c1fd63"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#aba9fae36ed19b802707c748396c1fd63">ShipCAD::SubdivisionSurface::_corner_point_color</a></div><div class="ttdeci">QColor _corner_point_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00444">subdivsurface.h:444</a></div></div>
<div class="ttc" id="classShipCAD_1_1Preferences_html_ae2139f76ba4038b4e713ca75dcb8157e"><div class="ttname"><a href="classShipCAD_1_1Preferences.html#ae2139f76ba4038b4e713ca75dcb8157e">ShipCAD::Preferences::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdef"><b>Definition:</b> <a href="preferences_8cpp_source.html#l00045">preferences.cpp:45</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a3cfcbbe769216c753330f71e57a4cf4d"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a3cfcbbe769216c753330f71e57a4cf4d">ShipCAD::SubdivisionSurface::_selected_color</a></div><div class="ttdeci">QColor _selected_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00441">subdivsurface.h:441</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_af0385bc183e805c1adc23750747a43d7"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#af0385bc183e805c1adc23750747a43d7">ShipCAD::SubdivisionSurface::_control_curve_color</a></div><div class="ttdeci">QColor _control_curve_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00450">subdivsurface.h:450</a></div></div>
<div class="ttc" id="preferences_8h_html"><div class="ttname"><a href="preferences_8h.html">preferences.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_aacd1616b97a4425cc9b1051e01785596"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#aacd1616b97a4425cc9b1051e01785596">ShipCAD::SubdivisionSurface::_leak_color</a></div><div class="ttdeci">QColor _leak_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00448">subdivsurface.h:448</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_aced3b075062f92e55b3a89729cad3fd2"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#aced3b075062f92e55b3a89729cad3fd2">ShipCAD::SubdivisionSurface::_edge_color</a></div><div class="ttdeci">QColor _edge_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00440">subdivsurface.h:440</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a047d5d0575c944d216ada589e30ee3bd"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a047d5d0575c944d216ada589e30ee3bd">ShipCAD::SubdivisionSurface::_zebra_color</a></div><div class="ttdeci">QColor _zebra_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00451">subdivsurface.h:451</a></div></div>
<div class="ttc" id="shipcadmodel_8h_html"><div class="ttname"><a href="shipcadmodel_8h.html">shipcadmodel.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1Preferences_html_a2e7e496b3417148240994e51281b0858"><div class="ttname"><a href="classShipCAD_1_1Preferences.html#a2e7e496b3417148240994e51281b0858">ShipCAD::Preferences::resetColors</a></div><div class="ttdeci">void resetColors()</div><div class="ttdef"><b>Definition:</b> <a href="preferences_8cpp_source.html#l00052">preferences.cpp:52</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a45054fd2d0065a342828bcd675e91307"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a45054fd2d0065a342828bcd675e91307">ShipCAD::SubdivisionSurface::_dart_point_color</a></div><div class="ttdeci">QColor _dart_point_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00445">subdivsurface.h:445</a></div></div>
<div class="ttc" id="namespaceShipCAD_html"><div class="ttname"><a href="namespaceShipCAD.html">ShipCAD</a></div><div class="ttdef"><b>Definition:</b> <a href="backgroundimage_8h_source.html#l00039">backgroundimage.h:39</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html_a6106aee9d086aa377d9a3a6a6291b54c"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html#a6106aee9d086aa377d9a3a6a6291b54c">ShipCAD::SubdivisionSurface::_crease_edge_color</a></div><div class="ttdeci">QColor _crease_edge_color</div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00438">subdivsurface.h:438</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html">ShipCAD::ShipCADModel</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00063">shipcadmodel.h:63</a></div></div>
<div class="ttc" id="classShipCAD_1_1Preferences_html_afd469134e34b7e1982efeb1e402fce3b"><div class="ttname"><a href="classShipCAD_1_1Preferences.html#afd469134e34b7e1982efeb1e402fce3b">ShipCAD::Preferences::Preferences</a></div><div class="ttdeci">Preferences(ShipCADModel *owner)</div><div class="ttdef"><b>Definition:</b> <a href="preferences_8cpp_source.html#l00038">preferences.cpp:38</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html">ShipCAD::SubdivisionSurface</a></div><div class="ttdoc">Subdivision Surface. </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00103">subdivsurface.h:103</a></div></div>
<div class="ttc" id="classShipCAD_1_1Preferences_html_abc05184c6497085eec42a9c89d639fe0"><div class="ttname"><a href="classShipCAD_1_1Preferences.html#abc05184c6497085eec42a9c89d639fe0">ShipCAD::Preferences::readSettings</a></div><div class="ttdeci">void readSettings()</div><div class="ttdef"><b>Definition:</b> <a href="preferences_8cpp_source.html#l00129">preferences.cpp:129</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 25 2018 15:36:00 for ShipCAD by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
